query Rendered Features
abstract fun queryRenderedFeatures(@NonNull() shape: List<ScreenCoordinate>, @NonNull() options: RenderedQueryOptions, @NonNull() callback: QueryFeaturesCallback)
Content copied to clipboard
Queries the map for rendered features.
Parameters
shape
The `screen pixel coordinates` (point, line string or box) to query for rendered features.
options
The `render query options` for querying rendered features.
callback
The `query features callback` called when the query completes.
abstract fun queryRenderedFeatures(@NonNull() box: ScreenBox, @NonNull() options: RenderedQueryOptions, @NonNull() callback: QueryFeaturesCallback)
Content copied to clipboard
Queries the map for rendered features.
Parameters
box
The `screen box` in `platform pixel` to query for rendered features.
options
The `render query options` for querying rendered features.
callback
The `query features callback` called when the query completes.
abstract fun queryRenderedFeatures(@NonNull() pixel: ScreenCoordinate, @NonNull() options: RenderedQueryOptions, @NonNull() callback: QueryFeaturesCallback)
Content copied to clipboard
Queries the map for rendered features.
Parameters
pixel
The `screen coordinate` in `platform pixel` to query for rendered features.
options
The `render query options` for querying rendered features.
callback
The `query features callback` called when the query completes.